/*
编写 : Hexh
时间 : 2012-6-15 9:02:48
*/
using System.Collections.Generic;
using FSBS.Core.Entity;
using HMIS.FrameWork;
using HMIS.FrameWork.DomainBase;

namespace FSBS.Facade
{
	/// <summary>
	///	 the interface of IFsbsQmInvtFacade
	/// </summary>
	public interface IFsbsQmInvtFacade : IDomainFacade
	{

		FsbsQmInvt Get(string id);

		FsbsQmInvt Load(string id);

		void SaveOrUpdate(FsbsQmInvt entity);

		void Delete(string id);

		void PhysicsDelete(string id);

		bool IsFieldExist(string fieldName, string fieldValue, string id);

		bool IsFieldExistWhere(string fieldName, string fieldValue, string id, string where);

		IList<FsbsQmInvt> GetAll();

		IList<FsbsQmInvt> GetPlist(string deptId, string type, string state, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);

		string CreateNewInventory(string deptId, string type, string userId);

		IList<FsbsQmIvls> GetCarPlist(string inventoryId, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);
	}
}
